Release 10.1A: OpenEdge Data Management:
SQL Reference


NVL

Returns the value of the first expression if the first expression value is not NULL. If the first expression value is NULL, the value of the second expression is returned.

Syntax

NVL ( expression , expression ) 

Example

This example illustrates the NVL function:

SELECT salary + NVL (comm, 0) 'TOTAL SALARY' FROM employee ; 

Notes

Compatibility

Progress extension


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095